@cpadding: 0 16px;
@tcolor: #333;
.edc-ds-title {
    padding-left: 3px;
    font-size: 14px;
}

.edc-ds-search {
    padding: 0 16px 10px;
}

.edc-ds-sider {
    background: #efefef;
    box-shadow: none;
}

.edc-ds-desc {
    margin: @cpadding;
    color: @tcolor;
    border-bottom: 1px solid #e6e6e6;
    &>div {
        position: relative;
        padding: 2px 10px;
        border-left: 2px solid transparent;
        color: #999;
        margin: 10px 0;
        line-height: 1;
        border-color: #1890ff;
        &>i {
            position: absolute;
            top: 4px;
            right: 0px;
            display: none;
            cursor: pointer;
        }
        &:hover>i {
            display: block;
            color: #1890ff;
        }
        .edc-ds-selection {
            background-color: #fff;
            border: 1px solid #d9d9d9;
            -webkit-box-shadow: 0 1px 6px hsla(0, 0%, 39%, .2);
            box-shadow: 0 1px 6px hsla(0, 0%, 39%, .2);
            border-radius: 6px;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            z-index: 1080;
            left: 10px;
            right: 10px;
            top: 100%;
            max-height: 300px;
            position: absolute;
            outline: none;
            overflow: hidden;
            font-size: 12px;
            display: none;
            &.selection-show {
              display: block;
              overflow: auto;
            }
            &>li {
                position: relative;
                display: block;
                padding: 7px 15px;
                font-weight: 400;
                color: #666;
                cursor: pointer;
                white-space: nowrap;
                overflow: hidden;
                -webkit-transition: background .3s ease;
                -o-transition: background .3s ease;
                transition: background .3s ease;
                min-height: 32px;
                line-height: 1.2;
                user-select: none;
                overflow: hidden;
                -o-text-overflow: ellipsis;
                text-overflow: ellipsis;
                white-space: nowrap;
                background-color: #f7f7f7;
                color: #666;
            }
        }
    }
    .edc-ds-name {
        color: #333;
        width: 150px;
    }
    .edc-ds-type {
        font-size: 12px;
        margin-top: 5px;
    }
}

.edc-ds-table,
.edc-ds-table-list {
    flex: 1 1;
    overflow: auto;
    position: relative;
}

.edc-ds-table {
    display: flex;
    flex-direction: column;
    .edc-ds-title {
        position: relative;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
        padding: @cpadding;
        color: @tcolor;
    }
}

.edc-ds-table-list {
    .ant-menu-inline {
        .ant-menu-item {
            margin: 0;
        }
    }
    .edc-ds-table-item {
        height: 42px;
        line-height: 42px;
        font-size: 14px;
        padding: 0 24px;
        cursor: move;
        cursor: -webkit-grab;
        &.text {
            line-height: 25px;
        }
        &:hover {
            background-color: #fff;
        }
        &.edc-ds-disabled {
            background-color: inherit;
            opacity: .6;
        }
        p {
            font-size: 12px;
            color: #bbb;
            line-height: 1;
            white-space: nowrap;
        }
    }
    .ReactVirtualized__List {
        user-select: none;
        &:focus {
            outline: none;
        }
    }
}